package com.xuxin.baby.presenter;

import com.xuxin.baby.contract.TestContract;
import com.xuxin.baby.model.TestModel;

/**
 * Created by xu_xin
 * Created on 2020/10/22 0022
 * 测试
 */
public class TestPresenter implements TestContract.Presenter {
    private final TestModel model;
    private final TestContract.View view;

    public TestPresenter(TestContract.View view) {
        this.view = view;
        model = new TestModel();
    }

    @Override
    public void test(String tenantId, String token) {
        model.test(this, tenantId, token);
    }
}